package com.pet.server.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 员工表
 *
 * @author Centaurea
 */
@ApiModel(value = "com-pet-server-domain-entity-Employee")
@Data
@NoArgsConstructor
@TableName(value = "t_employee")
public class Employee implements Serializable {
  private static final long serialVersionUID = -1880698355401131705L;
  public static final String COL_ID = "id";
  public static final String COL_EMP_NAME = "emp_name";
  public static final String COL_EMP_RANK = "emp_rank";
  public static final String COL_EMP_PHONE = "emp_phone";
  public static final String COL_SHOP_ID = "shop_id";

  /** 店员主键ID */
  @TableId(value = "id", type = IdType.AUTO)
  @ApiModelProperty(value = "店员主键ID")
  private Integer id;

  /** 店员姓名 */
  @TableField(value = "emp_name")
  @ApiModelProperty(value = "店员姓名")
  private String empName;

  /** 店员职级 */
  @TableField(value = "emp_rank")
  @ApiModelProperty(value = "店员职级")
  private String empRank;

  /** 店员电话 */
  @TableField(value = "emp_phone")
  @ApiModelProperty(value = "店员电话")
  private String empPhone;

  /** 所属门店id */
  @TableField(value = "shop_id")
  @ApiModelProperty(value = "所属门店id")
  private Integer shopId;
}
